package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
/**
* <p>
    * 角色表
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("sys_role")
    @ApiModel(value="SysRole对象", description="角色表")
    public class SysRole implements Serializable {


private static final long serialVersionUID = 1L;
            @ApiModelProperty(value = "角色ID")
            @TableId(value = "sys_role_id", type = IdType.AUTO)
    private Long sysRoleId;
            @ApiModelProperty(value = "角色名称")
    private String name;
            @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;
            @ApiModelProperty(value = "描述")
    private String description;
            @ApiModelProperty(value = "状态 0锁定 1有效")
    private Boolean status;
    /**
     * 菜单id属性
     */
    @TableField(exist = false)
    @ApiModelProperty(hidden = true)
    private List<SysMenu> sysMenus;
}
